package com.eunion.web.cms.service.impl;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eunion.web.cms.entity.Major;
import com.eunion.web.cms.repository.MajorRepository;
import com.eunion.web.cms.service.MajorService;
import com.eunion.web.common.base.BaseRepository;
import com.eunion.web.common.base.impl.BaseServiceImpl;

@Service(value = "majorService")
@Transactional
public class MajorServiceImpl extends BaseServiceImpl<Major, Long> implements MajorService {

    private final Logger log = LoggerFactory.getLogger(MajorServiceImpl.class);

    @Resource
    private MajorRepository majorRepository;

    @Override
    public BaseRepository<Major, Long> geBaseRepository() {
        return majorRepository;
    }

}
